package com.lw.ssm.service;

import com.github.pagehelper.PageInfo;
import com.lw.ssm.pojo.Course;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/3/10 16:53
 */
public interface CourseService {
    Course findById(Long id);

    PageInfo<Course> findAll(int pageNum,int pageSize);

    void addCourse(Course course);

    void updateCourse(Course course);

    void deleteCourse(Long id);
}
